import {
	request,
	uploadResource
} from '../../request';
/**
 * 上传图片
 */

export function uploadImage(data) {
	return uploadResource({
		url: '/upload/image',
		...data
	});
}
/**
 * 上传视频
 */

export function uploadVideo(data) {
	return uploadResource({
		url: '/upload/video',
		...data
	});
}
